import request from '@/utils/request'

// 查询域名审核日志列表
export function listAuditlog(query) {
  return request({
    url: '/system/auditlog/list',
    method: 'get',
    params: query
  })
}

// 查询域名审核日志详细
export function getAuditlog(id) {
  return request({
    url: '/system/auditlog/' + id,
    method: 'get'
  })
}

// 新增域名审核日志
export function addAuditlog(data) {
  return request({
    url: '/system/auditlog',
    method: 'post',
    data: data
  })
}

// 修改域名审核日志
export function updateAuditlog(data) {
  return request({
    url: '/system/auditlog',
    method: 'put',
    data: data
  })
}

// 删除域名审核日志
export function delAuditlog(id) {
  return request({
    url: '/system/auditlog/' + id,
    method: 'delete'
  })
}
